package com.yuexun.beilunpatient.ui.bodyCheck.Adapter;

import android.widget.AbsListView;

import com.yuexun.beilunpatient.R;
import com.yuexun.beilunpatient.ui.bodyCheck.bean.BodyCheckBasicBean;
import com.yuexun.beilunpatient.ui.bodyCheck.bean.BodyCheckHosBean;

import org.kymjs.kjframe.widget.AdapterHolder;
import org.kymjs.kjframe.widget.KJAdapter;

import java.util.Collection;

/**
 * Created by Administrator on 2019/4/29 0029.
 */

public class HosAdpater extends  KJAdapter<BodyCheckHosBean.RowsBean> {

    public HosAdpater(AbsListView view, Collection<BodyCheckHosBean.RowsBean> mDatas, int itemLayoutId) {
        super(view, mDatas, itemLayoutId);
    }

    @Override
    public void convert(AdapterHolder adapterHolder, BodyCheckHosBean.RowsBean item, boolean isScrolling) {
        adapterHolder.setText(R.id.bodycheck_tv, "体检时间：" + item.getExamtime());
    }
}
